﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Authority.Entity;
using DoNet.FrameWork.Services;

namespace Authority.Services
{
    public interface IPermisionService
    {
        List<PostControlsMap> GetPostPermision(Guid postId);

        List<UserControlsMap> GetUserPermision(Guid userId);

        string UpdatePostPermision(Guid postId, List<PostControlsMap> pcms);

        string UpdateUserPermision(Guid userId, List<UserControlsMap> ucms);
    }
}
